<%--
  Created by IntelliJ IDEA.
  User: hbl
  Date: 2017/6/14
  Time: 16:09
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title></title>

</head>
<script src="/resources/js/jquery-2.1.0.js"></script>
<style>
    form{
        width: 73%;
    }

    #doc{
        margin-top: 10px;
        width: 73%;
        height: 30px;
        line-height: 60px;
        text-align: center;
    }
    .button{
        width: 68px;

    }
    .sf {
        width: 73%;
        height: 80px;
        border-bottom: 1px solid gainsboro;
        font-size: 20px;
        line-height: 90px;
    }
    .iframe{
        width: 73%;
        border: none;
    }
</style>
<body>
<div class="sf">点击上传</div>
<form action="/File/setFile" method="post" enctype="multipart/form-data" target="nm_iframe">
      <input type="file" name="file" id="doc"><br/>
        <input type="submit" value="上传" class="button">
</form>
<div class="sf">上传过的文件</div>
<iframe  name="nm_iframe" class="iframe">
</iframe>
</body>
</html>
